package service.impl;

import dao.DownInfoDao;
import dao.impl.DownInfoDaoImpl;
import domian.DownInfo;
import service.DownInfoService;

public class DownInfoServiceImpl implements DownInfoService {
    DownInfoDao downInfoDao = new DownInfoDaoImpl();
    @Override
    public boolean addDownInfo(DownInfo downInfo) {
        return downInfoDao.addDownInfo(downInfo);
    }

    @Override
    public String findUpDownDataByUidAndFid(Integer uid, Integer fid) {
        return downInfoDao.findUpDownDataByUidAndFid(uid,fid);
    }
}
